package com.yt.order.api.interfaces;

import com.yt.core.service.GenericService;
import com.yt.order.api.model.Product;

import java.util.List;

public interface ProductService extends GenericService<Product, Long> {
	List<Product> findProductByInstitutionIDAndKeywords(Long institutionId, String keywords);

	List<Product> findProductByGroupOrder(Long groupOrderId);

	Product getProductByInstutionByName(Long institutionId, String productName);

	List<Product> getInstitutionIdAndProductIdsByProductIds(String productIds, String productName);
}